package nuist.hanniko.stu.webbackend.model.LwM2m;

import java.util.Date;

public class LwM2mDevice {
    private String deviceId;
    private String name;
    private Date regTime;
    private Date upTime;
    private String state;
    private String type;

    public LwM2mDevice(String deviceId, String name, Date regTime, Date upTime, String state, String type) {
        this.deviceId = deviceId;
        this.name = name;
        this.regTime = regTime;
        this.upTime = upTime;
        this.state = state;
        this.type = type;
    }

    public LwM2mDevice() {
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getRegTime() {
        return regTime;
    }

    public void setRegTime(Date regTime) {
        this.regTime = regTime;
    }

    public Date getUpTime() {
        return upTime;
    }

    public void setUpTime(Date upTime) {
        this.upTime = upTime;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
